package com.fengniu.ejb.business;

import java.util.List;

import com.fengniu.ejb.entity.Category;
import com.fengniu.ejb.entity.Content2Category;

public interface IContentBusiness {
	/**
	 * find coupon's brand category
	 * 
	 * @param contentSysId
	 * @return
	 */
	public Content2Category findContent2BrandCategory(long contentSysId);

	public List<Category> getContentLongestCategoryTrail(long contentSysId, String contentCategoryId);

	/**
	 * ranking content's membership to category's trail
	 * 
	 * @param contentSysId
	 * @param maxCategoryMember
	 */
	public void rankingContent(long contentSysId, int maxCategoryMember);
}
